package com.example.click.huanxin.ui;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TextInputLayout;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import com.example.click.mvpfoot.R;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

/**
 * Created by Chen qin lang on 2016/12/29.
 * 邮箱 :   619766577@qq.com
 */
public class RegisterActivity extends BaseActivity {
    @InjectView(R.id.et_username)
    EditText etUsername;
    @InjectView(R.id.et_password)
    EditText etPassword;
    @InjectView(R.id.til_username)
    TextInputLayout tilUsername;
    @InjectView(R.id.til_password)
    TextInputLayout tilPassword;
    @InjectView(R.id.register_tv)
    TextView registerTv;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.register_activity);
        ButterKnife.inject(this);

    }

    @OnClick({R.id.et_username, R.id.et_password,R.id.register_tv})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.et_username:
                break;
            case R.id.et_password:
                break;
            case R.id.register_tv:
                startActivity(RegisterLoginActivity.class);
                 break;
        }
    }


}
